import ApplyContract from "../Finance/ApplyContract.vue";
import ApplyReceipt from "../Finance/ApplyReceipt.vue";
import Bills from "../Finance/Bills.vue";
import Charge from "../Finance/Charge.vue";
import ChargeRecord from "../Finance/ChargeRecord.vue";
import Contract from "../Finance/Contract.vue";
import Interest from "../Finance/Interest.vue";
import Order from "../Finance/Order.vue";
import Overview from "../Finance/Overview.vue";
import Receipt from "../Finance/Receipt.vue";
import Score from "../Finance/Score.vue";
import Withdraw from "../Finance/Withdraw.vue";
import WithdrawRecord from "../Finance/WithdrawRecord.vue";
import { MenuType } from "./Menu";

export const financeMenuList: MenuType[] = [
  {
    label: "总览",
    name: "overview",
    component: Overview,
  },
  {
    label: "合同申请",
    name: "applyContract",
    hidden: {
      alias: "contract"
    },
    component: ApplyContract,
  },
  {
    label: "申请开票",
    name: "applyReceipt",
    hidden: {
      alias: "receipt"
    },
    component: ApplyReceipt,
  },
  {
    label: "提现记录",
    name: "withdrawRecord",
    hidden: {
      alias: "charge"
    },
    component: WithdrawRecord,
  },
  {
    label: "提现",
    name: "withdraw",
    hidden: {
      alias: "charge"
    },
    component: Withdraw,
  },
  {
    label: "充值记录",
    name: "chargeRecord",
    hidden: {
      alias: "charge"
    },
    component: ChargeRecord,
  },
  {
    label: "积分",
    name: "score",
    hidden: {
      alias: "none"
    },
    component: Score,
  },
  {
    label: "充值",
    name: "charge",
    component: Charge,
  },
  {
    label: "财务明细",
    name: "bills",
    component: Bills,
  },
  {
    label: "收益明细",
    name: "interest",
    component: Interest,
  },
  {
    label: "订单管理",
    name: "order",
    component: Order,
  },
  {
    label: "发票管理",
    name: "receipt",
    component: Receipt,
  },
  {
    label: "合同管理",
    name: "contract",
    component: Contract,
  },

];
